@extends(layout, title: "View")
@args Message message, User author

@section("moreCss") {
<style>
  textarea {
    width: 500px;
    height: 300px;
  }
</style>
}

<h3>@message.subject</h3>
<table>
  <tbody>
  <tr>
    <td>Author</td>
    <td>
      <a href='@author.getValue("html_url")'>@author.fullName&lt;@author.email&gt;</a>
    </td>
  </tr>
  <tr>
    <td>Last modified</td>
    <td>@message.getTimestamp().format("yyyy-MM-dd HH:mm")</td>
  </tr>
  </tbody>
</table>

<textarea>@message.body</textarea>

